package com.kingdee.eas.hr.emp;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class PersonPositionFactory
{
    private PersonPositionFactory()
    {
    }
    public static com.kingdee.eas.hr.emp.IPersonPosition getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.hr.emp.IPersonPosition)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("326C5FD0") ,com.kingdee.eas.hr.emp.IPersonPosition.class);
    }
    
    public static com.kingdee.eas.hr.emp.IPersonPosition getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.hr.emp.IPersonPosition)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("326C5FD0") ,com.kingdee.eas.hr.emp.IPersonPosition.class, objectCtx);
    }
    public static com.kingdee.eas.hr.emp.IPersonPosition getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.hr.emp.IPersonPosition)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("326C5FD0"));
    }
    public static com.kingdee.eas.hr.emp.IPersonPosition getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.hr.emp.IPersonPosition)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("326C5FD0"));
    }
}